package com.igeek.clud_system.service;

import com.igeek.clud_system.dao.NewsDao;
import com.igeek.clud_system.entity.ClubNews;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class NewsService {
	@Autowired
	private NewsDao newsDao;
	public List<ClubNews> getNews(){
		return newsDao.getNews();
	}
}
